#include <iostream>
using namespace std;
class Date{
    protected:
        int day,month,year;
    public:
        Date(int inMonth,int inDay,int inYear):
            month(inMonth),day(inDay),year(inYear){
        }
        Date& operator ++ (){
            ++day;
            return *this;
        } 
        Date& operator -- (){
            --day;
            return *this;
        }
        void displayDate(){
            cout<<month<<"/"<<day<<"/"<<year<<endl;
        }
};

int main(){
    Date holiday(11,22,2024);
    holiday.displayDate();
    ++holiday;
    holiday.displayDate();
    --holiday;
    holiday.displayDate();
    return 0;
}
